package com.woniuxy.table.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.table.infra.model.DinnerTable;
import com.woniuxy.table.infra.model.DinnerTableType;
import com.woniuxy.table.service.param.AddTableTypeServiceParam;
import com.woniuxy.table.service.param.ModifyTableTypeServiceParam;

import java.util.List;

/**
 * <p>
 * 餐桌类型表 服务类
 * </p>
 *
 * @author Lucas
 * @since 2023-07-20
 */
public interface DinnerTableTypeService extends IService<DinnerTableType> {

    void addTableType(AddTableTypeServiceParam addTableTypeServiceParam);

    void modifyTableType(ModifyTableTypeServiceParam modifyTableTypeServiceParam);

    void deleteTableType(Integer storeId, Integer tableTypeId);

    DinnerTableType getTableType(Integer storeId, Integer tableTypeId);

    List<DinnerTableType> getAllTableType(Integer storeId);
}
